package jml.config;

import jml.defaultimple.util.UFile;

public class Descriptor
{
	private String fileExtension;
	private String labelSeparator;
	
	public String getFileExtension()
	{
		return fileExtension;
	}
	public void setFileExtension(String fileExtension)
	{
		this.fileExtension = fileExtension;
	}
	public void setLabelSeparator(String labelSeparator)
	{
		this.labelSeparator = labelSeparator;
	}
	public String getLabelSeparator()
	{
		return labelSeparator;
	}
	
	public String getDescriptorFilename(String path)
	{
		return UFile.getFiles(path, getFileExtension())[0];		
	}
}
